The only iPhoto version that will run on El Capitan is iPhoto 9.6.1.
If you are currently running an AppStore version of iPhoto, you should be able to update to this version by reinstalling iPhoto. See Barney's User Tip , if you can update at all:
But sticking to iPhoto is a dead end. Apple stopped the developement and support for iPhoto, and you can no longer order print products from iPhoto.
Photos automatically open your iPhoto Library as TD said, provided the library has been created by an iPhoto version newer than iPhoto 7.1.2. If you are running an older version, use the iPhoto Library Upgrader to prepare your iPhoto Library for the migration. (iPhoto '11: About the Library Upgrader)
And your iPhoto Library should be on a drive that is compatible wth Photos. If your iPhoto Library is in the default location, your Pictures folder, the migration should be automatic. An external drive should be formatted MacOS Extended (Journaled) and connected directly, not a network volume.
Photos is very different from iPhoto and may at first appear strange to you, but once you get the general idea, it is easy to use and the editing tools are more powerful than in iPhoto. I find it faster and the ability to sync the Photos Library across all my Macs using iCloud is a big improvement.
You may want to look at these documents: